@echo off
set appPID=5176
set appPath=E:\Rust\reset-app\src-tauri\target\debug\reset-app.exe
set newAppPath=E:\Rust\reset-app\tmp\reset-app.exe
taskkill /PID "%appPID%" /F
timeout /t 1 /nobreak
copy /Y "%newAppPath%" "%appPath%"
start "" "%appPath%"
